moveForward()

while !isBlocked 
{
    if isOnClosedSwitch {
        toggleSwitch()
        
    }
    moveForward()
    
}
